name = 'Bob'
age = 18
score = 100
score2 = 99.7576
print(f"姓名: {name}, 年龄: {age}, 分数: {score}")
print(f"分数: {score2:.1f}")
print(f"分数: {score2:.2f}")
print(f'分数: {score2:.4f}')

print(f"{name:>10}")            # 右对齐，宽度10:        Bob
print(f"{name:<10}")            # 左对齐，宽度10: Bob
print(f"{name:^10}")            # 居中对齐: Bob